/**
 * @package: BrickCAD
 * @className: SetHeightCommand.java
 * @package: default
 * @author: Sean , Jack, Lester, Erik Telstad
 * @date_created: November 16, 2009
 * @last_modified: November 16, 2009
 * 
 * 
 * 
 */

public class SetHeightCommand extends Command {

	double height;
	
	public SetHeightCommand(double aHeight) {
		//super(theModel);
		height = aHeight;
	}

	@Override
	void execute() {
		aMemento = model.makeMemento();
		model.setHeight(height);
		
	}

}
